package ooday05.JavaCodeHomework.Q4;
/** 演示EnumTest01类 */
public class EnumTest01 {
    public static void main(String[] args) {
        Seasons01 s = Seasons01.WINTER;
        System.out.println(s.getSeasonName() + "," + s.getSeasonDesc());

        Seasons01[] seasons = Seasons01.values();
        for(int i = 0; i < seasons.length; i++) {
            System.out.println(seasons[i]);
            System.out.println(seasons[i].getSeasonName());
            System.out.println(seasons[i].getSeasonDesc());
        }
    }
}
